//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _ArffAttributeSelection_h__
#define _ArffAttributeSelection_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "ArffPatternRecord.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class ArffAttributeSelection { 

  private:

    String*                     toString;

  protected:

    String*                     filenameOut;
    String*                     filenameIn;
    TListE <ArffPatternRecord>* patternList;

  public:

    ArffAttributeSelection ();
    ArffAttributeSelection (const ArffAttributeSelection&);
    ArffAttributeSelection (const ArffAttributeSelection*);

    ~ArffAttributeSelection ();

    void                        FilenameOut (String* filenameOut);
    void                        FilenameIn (String* filenameIn);
    void                        PatternList (TListE <ArffPatternRecord>* patternList);

    String*                     FilenameOut (void);
    String*                     FilenameIn (void);
    TListE <ArffPatternRecord>* PatternList (void);

    bool                        LoadSelectionResult (String*);
    bool                        LoadDataFromFile (void);
    bool                        StoreDataInFile (void);
    bool                        AddDataToFile (void);
    String*                     OutPositionPatterns (void);
    String*                     OutPositionPatterns (int);

    String*                     ToString (void);

    ArffAttributeSelection      operator= (const ArffAttributeSelection& arffAttributeSelection);

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
